Skip to content

Conversation

@zharinov
Copy link
Member

Summary

  • Add three-phase epsilon elimination pass: forward migration, branching expansion, laser vision
  • Add semantic fingerprint verification (debug-only) to catch compilation bugs
  • Add DCE pass to remove unreachable instructions after optimization
  • Sync Call targets when def_entries are remapped during optimization

Why

Epsilon transitions are pure control flow that bloat bytecode and slow execution. This optimization eliminates them while preserving semantics, verified by comparing semantic fingerprints before/after transformation.

@zharinov zharinov force-pushed the refactor/epsilon-elim branch from 2ea90ad to a84dfb0 Compare January 15, 2026 16:20
@zharinov zharinov merged commit 66bce05 into master Jan 15, 2026
3 checks passed
@zharinov zharinov deleted the refactor/epsilon-elim branch January 15, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants